var express = require('express');
var router = express.Router();
var path = require('path');
var area = require(path.join(process.cwd(),"/utils/area.json"));
var path = require('path');

/* GET home page. */
router.get('/', function(req, res, next) {
  res.sendResult(null,200,"获取成功")
});

router.get('/location',function(req,res,next){
        res.sendResult(area,200,"地区请求成功")
})


module.exports = router;
